<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>添加学生</title>
</head>
<body>
    <h1>添加学生</h1>
    <form action="{{ url_for('add_student') }}" method="post">
        <label for="sno">学号:</label>
        <input type="text" id="sno" name="sno" required><br><br>

        <label for="sname">姓名:</label>
        <input type="text" id="sname" name="sname" required><br><br>

        <label for="ssex">性别:</label>
        <select id="ssex" name="ssex" required>
            <option value="男">男</option>
            <option value="女">女</option>
        </select><br><br>

        <label for="sage">年龄:</label>
        <input type="number" id="sage" name="sage" required><br><br>

        <label for="dno">院系编号:</label>
        <input type="text" id="dno" name="dno" required><br><br>

        <label for="sclass">班级:</label>
        <input type="text" id="sclass" name="sclass"><br><br>

        <label for="address">地址:</label>
        <input type="text" id="address" name="address"><br><br>

        <input type="submit" value="提交">
    </form>
</body>
</html>